Calculate the maximum geodesic distance in nautical miles from a reference point to any vertex of a polygon using the Haversine formula.